<extend name="_layout/main" />
<block name="content">
    <div class="page-content">
        <div class="page-breadcrumbs">
            <ul class="breadcrumb">
                <li>
                    <i class="fa fa-home"></i>
                    <a href="{:U('dashboard/index')}">系统首页</a>
                </li>
                <li>
                    <a href="{:U('manager/index')}">管理中心</a>
                </li>
                <li class="active">后台用户列表</li>
            </ul>
        </div>
        <div class="page-body">
            <div class="row">
                <div class="col-xs-12 col-md-12">
                    <div class="widget">
                        <div class="widget-header bordered-bottom bordered-blue">
                            <span class="widget-caption">管理员列表</span>
                        </div>
                        <div class="widget-body">

                            <table class="table table-bordered table-hover">
                                <thead>
                                <tr>
                                    <th class="text-center">ID</th>
                                    <th class="text-center">用户名</th>
                                    <th class="text-center">用户组</th>
                                    <th class="text-center">登陆时间</th>
                                    <th class="text-center">登陆IP</th>
                                    <th class="text-center">登陆次数</th>
                                </tr>
                                </thead>

                                <tbody>
                                <volist name="result" id="val">
                                    <tr>
                                        <td class="text-center">{$val.id}</td>
                                        <td class="text-center">{$val.username}</td>
                                        <td class="text-center">{$val.group_name}</td>
                                        <td class="text-center">{:format_time($val['login_time'])}</td>
                                        <td class="text-center">{$val.login_ip}</td>
                                        <td class="text-center">{$val.login_count}</td>
                                    </tr>
                                </volist>
                                </tbody>
                            </table>
                            <div class="row DTTTFooter">
                                <div class="col-sm-6">
                                    <div class="dataTables_info" id="simpledatatable_info" role="status" aria-live="polite">

                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="dataTables_paginate paging_bootstrap" id="simpledatatable_paginate">
                                        {$page}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</block>

<block name="footer">
    <script src="/Public/assets/js/validation/bootstrapValidator.js" type="text/javascript" charset="utf-8"></script>

</block>